.class Lcom/waiqin365/lightapp/im/contactlist/q;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/widget/AdapterView$OnItemClickListener;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/im/contactlist/q;->a:Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onItemClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .locals 9

    const v8, 0x7f0805d3

    const/16 v7, 0x8

    const v6, 0x7f0806b1

    const/4 v3, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/q;->a:Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;

    const-string/jumbo v1, "input_method"

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/inputmethod/InputMethodManager;

    invoke-virtual {v0}, Landroid/view/inputmethod/InputMethodManager;->isActive()Z

    move-result v1

    if-eqz v1, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/contactlist/q;->a:Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;->d(Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;)Landroid/widget/EditText;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/EditText;->getWindowToken()Landroid/os/IBinder;

    move-result-object v1

    invoke-virtual {v0, v1, v3}, Landroid/view/inputmethod/InputMethodManager;->hideSoftInputFromWindow(Landroid/os/IBinder;I)Z

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/q;->a:Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;->a(Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->getHeaderViewsCount()I

    move-result v0

    sub-int v1, p3, v0

    new-instance v0, Lcom/waiqin365/lightapp/kehu/share/a/c;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/kehu/share/a/c;-><init>()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/q;->a:Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;->c(Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;)Lcom/waiqin365/lightapp/im/contactlist/a/g;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/im/contactlist/a/g;->a()Ljava/util/ArrayList;

    move-result-object v2

    invoke-virtual {v2, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/share/a/c;

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->q:Ljava/lang/String;

    if-eqz v4, :cond_1

    const-string/jumbo v4, "1"

    iget-object v5, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->q:Ljava/lang/String;

    invoke-virtual {v4, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_1

    const-string/jumbo v4, "1"

    iget-object v5, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->n:Ljava/lang/String;

    invoke-virtual {v4, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-nez v4, :cond_3

    const-string/jumbo v1, "3"

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->n:Ljava/lang/String;

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/contactlist/q;->a:Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;

    const-class v2, Lcom/waiqin365/lightapp/im/activity/AlertDialog;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v1, "title"

    iget-object v2, p0, Lcom/waiqin365/lightapp/im/contactlist/q;->a:Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;

    invoke-virtual {v2, v6}, Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v1, "msg"

    iget-object v2, p0, Lcom/waiqin365/lightapp/im/contactlist/q;->a:Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    const v3, 0x7f080306

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/contactlist/q;->a:Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;->startActivity(Landroid/content/Intent;)V

    :cond_1
    :goto_0
    return-void

    :cond_2
    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/contactlist/q;->a:Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;

    const-class v2, Lcom/waiqin365/lightapp/im/activity/AlertDialog;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v1, "title"

    iget-object v2, p0, Lcom/waiqin365/lightapp/im/contactlist/q;->a:Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;

    invoke-virtual {v2, v6}, Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v1, "msg"

    iget-object v2, p0, Lcom/waiqin365/lightapp/im/contactlist/q;->a:Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    const v3, 0x7f080309

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/contactlist/q;->a:Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;->startActivity(Landroid/content/Intent;)V

    goto :goto_0

    :cond_3
    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v4

    iget-object v5, p0, Lcom/waiqin365/lightapp/im/contactlist/q;->a:Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;

    invoke-virtual {v4, v5}, Lcom/waiqin365/base/login/mainview/a;->i(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v4

    iget-object v5, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    invoke-virtual {v4, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_4

    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/contactlist/q;->a:Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;

    const-class v2, Lcom/waiqin365/lightapp/im/activity/AlertDialog;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v1, "title"

    iget-object v2, p0, Lcom/waiqin365/lightapp/im/contactlist/q;->a:Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;

    invoke-virtual {v2, v6}, Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v1, "msg"

    iget-object v2, p0, Lcom/waiqin365/lightapp/im/contactlist/q;->a:Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;

    const v3, 0x7f080014

    invoke-virtual {v2, v3}, Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/contactlist/q;->a:Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;->startActivity(Landroid/content/Intent;)V

    goto :goto_0

    :cond_4
    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->p:Ljava/lang/String;

    if-eqz v4, :cond_5

    const-string/jumbo v4, "0"

    iget-object v5, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->p:Ljava/lang/String;

    invoke-virtual {v4, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_7

    :cond_5
    const-string/jumbo v4, "1"

    iput-object v4, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->p:Ljava/lang/String;

    invoke-virtual {v2, v1, v0}, Ljava/util/ArrayList;->set(ILjava/lang/Object;)Ljava/lang/Object;

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/contactlist/q;->a:Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;->c(Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;)Lcom/waiqin365/lightapp/im/contactlist/a/g;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/im/contactlist/a/g;->notifyDataSetChanged()V

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/contactlist/q;->a:Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;->g(Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1, v3, v0}, Ljava/util/ArrayList;->add(ILjava/lang/Object;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/q;->a:Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;->h(Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;)Lcom/waiqin365/lightwork/directory/b/t;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightwork/directory/b/t;->notifyDataSetChanged()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/q;->a:Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;->g(Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lez v0, :cond_6

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/q;->a:Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;->i(Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;)Landroid/widget/LinearLayout;

    move-result-object v0

    invoke-virtual {v0, v3}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/q;->a:Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;->j(Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;)Landroid/widget/Button;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v2, p0, Lcom/waiqin365/lightapp/im/contactlist/q;->a:Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;

    invoke-virtual {v2, v8}, Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, "("

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/im/contactlist/q;->a:Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;->g(Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;)Ljava/util/ArrayList;

    move-result-object v2

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, ")"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_0

    :cond_6
    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/q;->a:Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;->i(Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;)Landroid/widget/LinearLayout;

    move-result-object v0

    invoke-virtual {v0, v7}, Landroid/widget/LinearLayout;->setVisibility(I)V

    goto/16 :goto_0

    :cond_7
    const-string/jumbo v4, "0"

    iput-object v4, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->p:Ljava/lang/String;

    invoke-virtual {v2, v1, v0}, Ljava/util/ArrayList;->set(ILjava/lang/Object;)Ljava/lang/Object;

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/contactlist/q;->a:Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;->c(Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;)Lcom/waiqin365/lightapp/im/contactlist/a/g;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/im/contactlist/a/g;->notifyDataSetChanged()V

    move v2, v3

    :goto_1
    iget-object v1, p0, Lcom/waiqin365/lightapp/im/contactlist/q;->a:Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;->g(Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-ge v2, v1, :cond_9

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/contactlist/q;->a:Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;->g(Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/lightapp/kehu/share/a/c;

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    invoke-virtual {v1, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_8

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/contactlist/q;->a:Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;->g(Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1, v2}, Ljava/util/ArrayList;->remove(I)Ljava/lang/Object;

    :cond_8
    add-int/lit8 v1, v2, 0x1

    move v2, v1

    goto :goto_1

    :cond_9
    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/q;->a:Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;->h(Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;)Lcom/waiqin365/lightwork/directory/b/t;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightwork/directory/b/t;->notifyDataSetChanged()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/q;->a:Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;->g(Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lez v0, :cond_a

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/q;->a:Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;->i(Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;)Landroid/widget/LinearLayout;

    move-result-object v0

    invoke-virtual {v0, v3}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/q;->a:Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;->j(Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;)Landroid/widget/Button;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v2, p0, Lcom/waiqin365/lightapp/im/contactlist/q;->a:Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;

    invoke-virtual {v2, v8}, Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, "("

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/im/contactlist/q;->a:Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;->g(Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;)Ljava/util/ArrayList;

    move-result-object v2

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, ")"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_0

    :cond_a
    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/q;->a:Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;->i(Lcom/waiqin365/lightapp/im/contactlist/GroupPickContactsListActivity;)Landroid/widget/LinearLayout;

    move-result-object v0

    invoke-virtual {v0, v7}, Landroid/widget/LinearLayout;->setVisibility(I)V

    goto/16 :goto_0
.end method
